﻿#ifndef TABLE_H
#define TABLE_H

#include <QObject>

class Table : public QObject
{
    Q_OBJECT
public:
    explicit Table(QObject *parent = 0);

signals:

public slots:
    void get_all_table_finished();
    void add_table_finished();
    void modify_table_finished();
    void delete_table_finished();

public:
    void get_all_table();
    void add_table(QJsonObject &data);
    void modify_table(QJsonObject &data);
    void delete_table(QJsonObject &data);
};

#endif // TABLE_H
